#! /bin/bash
ps -ef |egrep "php .*update_dealer_minus_amount.php" | awk '{print $2}' | xargs kill
nohup `which php` `pwd`/update_dealer_minus_amount.php >> /tmp/update_dealer_minus_amount.log &